home *** CD-ROM | disk | FTP | other *** search
- on scrollDownFast whichField, originalPosition
- set spriteNum to the clickOn
- set offCast to the castNum of sprite spriteNum
- set onCast to offCast + 1
- set the castNum of sprite spriteNum to onCast
- updateStage()
- puppetSprite(whichField, 1)
- repeat while the mouseDown = 1
- if the top of sprite whichField > originalPosition then
- nothing()
- else
- set the locV of sprite whichField to the locV of sprite whichField + 8
- end if
- if rollOver(spriteNum) then
- set the castNum of sprite spriteNum to onCast
- else
- set the castNum of sprite spriteNum to offCast
- end if
- updateStage()
- end repeat
- set the castNum of sprite spriteNum to offCast
- updateStage()
- return rollOver(spriteNum)
- end
-
- on scrollUpFast whichField, originalPosition
- set spriteNum to the clickOn
- set originalPosition to the locV of sprite whichField
- set offCast to the castNum of sprite spriteNum
- set onCast to offCast + 1
- set the castNum of sprite spriteNum to onCast
- updateStage()
- puppetSprite(whichField, 1)
- repeat while the mouseDown = 1
- if the bottom of sprite whichField < (originalPosition + 40) then
- nothing()
- else
- set the locV of sprite whichField to the locV of sprite whichField - 8
- end if
- if rollOver(spriteNum) then
- set the castNum of sprite spriteNum to onCast
- else
- set the castNum of sprite spriteNum to offCast
- end if
- updateStage()
- end repeat
- set the castNum of sprite spriteNum to offCast
- updateStage()
- return rollOver(spriteNum)
- end
-
- on scrollDownSlow whichField, originalPosition
- set spriteNum to the clickOn
- set originalPosition to the locV of sprite whichField
- set offCast to the castNum of sprite spriteNum
- set onCast to offCast + 1
- set the castNum of sprite spriteNum to onCast
- updateStage()
- puppetSprite(whichField, 1)
- repeat while the mouseDown = 1
- if the top of sprite whichField > originalPosition then
- nothing()
- else
- set the locV of sprite whichField to the locV of sprite whichField + 4
- end if
- if rollOver(spriteNum) then
- set the castNum of sprite spriteNum to onCast
- else
- set the castNum of sprite spriteNum to offCast
- end if
- updateStage()
- end repeat
- set the castNum of sprite spriteNum to offCast
- updateStage()
- return rollOver(spriteNum)
- end
-
- on scrollUpSlow whichField, originalPosition
- set spriteNum to the clickOn
- set originalPosition to the locV of sprite whichField
- set offCast to the castNum of sprite spriteNum
- set onCast to offCast + 1
- set the castNum of sprite spriteNum to onCast
- updateStage()
- puppetSprite(whichField, 1)
- repeat while the mouseDown = 1
- if the bottom of sprite whichField < (originalPosition + 40) then
- nothing()
- else
- set the locV of sprite whichField to the locV of sprite whichField - 4
- end if
- if rollOver(spriteNum) then
- set the castNum of sprite spriteNum to onCast
- else
- set the castNum of sprite spriteNum to offCast
- end if
- updateStage()
- end repeat
- set the castNum of sprite spriteNum to offCast
- updateStage()
- return rollOver(spriteNum)
- end
-